package com.qfedu.aunt.commons.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 团购表
 * </p>
 *
 * @author xiaobobo
 * @since 2022-10-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_group_buy")
@ApiModel(value="GroupBuy对象", description="团购表")
public class GroupBuy implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "团购id")
    @TableId(value = "gb_id", type = IdType.ID_WORKER_STR)
    private String gbId;

    @ApiModelProperty(value = "团购图片")
    private String gbImages;

    @ApiModelProperty(value = "团购简介")
    private String gbIntroduction;

    @ApiModelProperty(value = "原价")
    private BigDecimal originalPrice;

    @ApiModelProperty(value = "团购价格")
    private BigDecimal gbPrice;

    @ApiModelProperty(value = "适用门店id")
    private String storeId;

    @ApiModelProperty(value = "最近门店id")
    private String recentStoreId;

    @ApiModelProperty(value = "服务时长")
    private String serviceDuration;

    @ApiModelProperty(value = "适用面积")
    private String area;

    @ApiModelProperty(value = "清洁剂")
    private String cleaningAgent;

    @ApiModelProperty(value = "超时费")
    private BigDecimal overtimeFee;

    @ApiModelProperty(value = "使用范围")
    private String scopeUse;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "版本号")
    private Integer version;

    @ApiModelProperty(value = "是否删除")
    private Integer deleted;


}
